import {ElMessage} from "element-plus"

export const msgSuccess = (msg:string = "成功") => {
    ElMessage({
        showClose: true,
        message: msg,
        type: 'success',
    })
}

export const msgError = (msg:string = "失败") => {
    ElMessage({
        showClose: true,
        message: msg,
        type: 'error',
    })
}
